<?php
require_once 'OPPlayer.php';

class OPOppressor extends OPPlayer{
	/**
	* -------------------------------------------------------------------------
	*
	* 									Attributes
	*
	* -------------------------------------------------------------------------
	*/

	
	/**
	 * -------------------------------------------------------------------------
	 * 
	 * 									Static
	 * 
	 * -------------------------------------------------------------------------
	 */

	/**
	* Static constructor creating a new Oppressor with his emei number
	*
	* @param $emei
	* @return OPOppressor
	*/
	public static function newWithEmei($emei){
		$newOppressor = new OPOppressor();
		$newOppressor->setEmei($emei);
	
		return $newOppressor;
	
	}
	
	/**
	* -------------------------------------------------------------------------
	*
	* 									Dynamic
	*
	* -------------------------------------------------------------------------
	*/
	
	/**
	* -------------------------------------------------------------------------
	* 									Setters
	* -------------------------------------------------------------------------
	*/
	
	
	/**
	* -------------------------------------------------------------------------
	* 									Getters
	* -------------------------------------------------------------------------
	*/
	
	/**
	* Return the faction of the player
	*
	* @return string
	*/
	public function faction() {
		return OPFaction::OPPRESSORS_FACTION;
	
	}
	
	/**
	* -------------------------------------------------------------------------
	* 									Testing
	* -------------------------------------------------------------------------
	*/
	
	/**
	 * Return if the player is a rebel
	 * 
	 * @return boolean
	 */
	public function isARebel() {
		return false;
		
	}
	
	/**
	* Return if the player is an oppressor
	*
	* @return boolean
	*/
	public function isAnOppressor() {
		return true;
	
	}
	
	
}